;C/C++ Syntax highlight Script for Twistpad
;1998 - 2006 (C) Carthago Software

[::Header::]
SyntaxName=C/C++
Extensions=c;cpp;cxx;cc;h;hpp;hxx
Functions=(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]*::[a-zA-Z]*|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]* [a-zA-Z_0-9]*\(|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]*\(
Spelling=0 
SpellingContexts=1;2;3

[Comment1]
Type=StartStop
Context=1
Priority=10
Scope=0
WholeWordOnly=0
First=/*
Last=*/
Background=default
Foreground=008000
Outline=1

[Comment2]
Type=StartStop
Context=1
Scope=0
Priority=10
WholeWordOnly=0
First=//
Last=
Background=Default
Foreground=008000

[Quote]
Type=StartStop
Context=2
Scope=0
Priority=10
WholeWordOnly=0
First='
Last='
Background=Default
Foreground=408080

[Quote1]
Type=StartStop
Context=3
Scope=0
Priority=10
WholeWordOnly=0
First="
Last="
Background=Default
Foreground=408080

[Preprocessor]
Type=StartStop
Context=4
Scope=0
Priority=9
WholeWordOnly=0
First=#
Last=
Background=Default
Foreground=Default
BeginParagraph=1

[Functions Folding]
Type=StartStop
Context=5
Scope=0
Priority=5
WholeWordOnly=0
First={
Last=}
Background=Default
Foreground=Default
Outline=1
smart=1

[Keywords]
Type=keyword
Context=101
Scope=0
Priority=6
WholeWordOnly=1
Keyword1=asm;auto;bool;break;case;catch;char;class;const;const_cast;continue;default;delete;do;double;dynamic_cast;else;enum
Keyword2=explicit;extern;false;float;for;friend;goto;if;inline;int;long;mutable;namespace;new;operator;private;protected;public
Keyword3=register;reinterprete_cast;return;short;signed;sizeof;static;static_cast;struct;switch;template;this;throw;true;try
Keyword4=typedef;typeid;typename;union;unsigned;using;virtual;void;volatile;wchar_t;while;__asm;__fastcall;__based;__cdecl;__pascal
Keyword5=__inline;__multiple_inheritance;__single_inheritance;__virtual_inheritance
Keyword6=
Keyword7=
Keyword8=
Keyword9=
Keyword10=
Keyword11=
Keyword12=
Keyword13=
Keyword14=
Keyword15=
Keyword16=
Background=Default
Foreground=0000FF
Bold=0
CaseSensitive=1

[Compiler directives]
Type=keyword
Context=102
Scope=4
Priority=10
WholeWordOnly=1
Keyword1=define;error;include;elif;if;line;else;ifdef;pragma;endif;ifndef;undef;if;else;endif;defined;
Keyword2=
Keyword3=
Keyword4=
Keyword5=
Keyword6=
Keyword7=
Keyword8=
Keyword9=
Keyword10=
Keyword11=
Keyword12=
Keyword13=
Keyword14=
Keyword15=
Keyword16=
Background=Default
Foreground=646464

[#]
Type=keyword
Context=102
Scope=0
Priority=10
WholeWordOnly=0
Keyword1=#
Background=Default
Foreground=646464
BeginParagraph=1
